/**
 * @ProjectName： naive-admin
 * @FileName： authorization.ts
 * @Description: // 设置请求头的信息
 * @Author: ellwood
 * @date: 2024/1/16 - 7:48
 * @Version: V1.0.0
 */
export const STORAGE_AUTHORIZATION_KEY = 'Authorization'

export const useAuthorization = createGlobalState(() =>
  useStorage<null | string>(STORAGE_AUTHORIZATION_KEY, null),
)
